package com.scheduling.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.scheduling.system.mapper.ShiftclassmanagementMapper;
import com.scheduling.system.domain.Shiftclassmanagement;
import com.scheduling.system.service.IShiftclassmanagementService;

/**
 * 班系管理Service业务层处理
 * 
 * @author mj
 * @date 2025-05-07
 */
@Service
public class ShiftclassmanagementServiceImpl implements IShiftclassmanagementService 
{
    @Autowired
    private ShiftclassmanagementMapper shiftclassmanagementMapper;

    /**
     * 查询班系管理
     * 
     * @param id 班系管理主键
     * @return 班系管理
     */
    @Override
    public Shiftclassmanagement selectShiftclassmanagementById(Long id)
    {
        return shiftclassmanagementMapper.selectShiftclassmanagementById(id);
    }

    /**
     * 查询班系管理列表
     * 
     * @param shiftclassmanagement 班系管理
     * @return 班系管理
     */
    @Override
    public List<Shiftclassmanagement> selectShiftclassmanagementList(Shiftclassmanagement shiftclassmanagement)
    {
        return shiftclassmanagementMapper.selectShiftclassmanagementList(shiftclassmanagement);
    }

    /**
     * 新增班系管理
     * 
     * @param shiftclassmanagement 班系管理
     * @return 结果
     */
    @Override
    public int insertShiftclassmanagement(Shiftclassmanagement shiftclassmanagement)
    {
        return shiftclassmanagementMapper.insertShiftclassmanagement(shiftclassmanagement);
    }

    /**
     * 修改班系管理
     * 
     * @param shiftclassmanagement 班系管理
     * @return 结果
     */
    @Override
    public int updateShiftclassmanagement(Shiftclassmanagement shiftclassmanagement)
    {
        return shiftclassmanagementMapper.updateShiftclassmanagement(shiftclassmanagement);
    }

    /**
     * 批量删除班系管理
     * 
     * @param ids 需要删除的班系管理主键
     * @return 结果
     */
    @Override
    public int deleteShiftclassmanagementByIds(Long[] ids)
    {
        return shiftclassmanagementMapper.deleteShiftclassmanagementByIds(ids);
    }

    /**
     * 删除班系管理信息
     * 
     * @param id 班系管理主键
     * @return 结果
     */
    @Override
    public int deleteShiftclassmanagementById(Long id)
    {
        return shiftclassmanagementMapper.deleteShiftclassmanagementById(id);
    }
}
